package com.molichuxing.gateway.api.services;

import com.molichuxing.framework.result.ResponseResult;
import com.molichuxing.gateway.bff.user.entity.response.WechatConfigVo;
import com.molichuxing.gateway.bff.user.entity.response.WechatUserVo;

/**
 * 微信相关接口
 * 
 * @author 李义广
 * @date 2019-10-29
 *
 */
public interface WechatApiService {

	/**
	 * 获取openid
	 * @param code
	 * @return
	 */
	ResponseResult<WechatUserVo> getOpenId(String code);
	
	
	/**
	 * 获取微信签名
	 * @return
	 */
	ResponseResult<WechatConfigVo> getWechatConfig();

}
